/**
 * Program   :   TDictionary.java
 * Author    :   shadow guo
 * Create    :   2013-6-24 下午9:03:56
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.example.data;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.DictionaryData;

@LogDesc(value="字典项" ,expression="dictkeyName")
public class TDictionary extends DictionaryData {
	/**
	 * 唯一标识
	 */
	private String dictId;
	/**
	 * 分类编码
	 */
	private String dictclassId;
	/**
	 * 条目名称(显示)
	 */
	private String dictkeyName;
	/**
	 * 条目代码(记录)
	 */
	private String dictkeyValue;
	/**
	 * 显示顺序
	 */
	private int showOrder;
	/**
	 * 状态，1：有效；0：无效
	 */
	private String status;

	@Override
	public String getPkName() {
		return "dictId";
	}

	@Override
	public String getTableName() {
		return "T_DICTIONARY";
	}

	public String getDictId() {
		return dictId;
	}

	public void setDictId(String dictId) {
		this.dictId = dictId;
	}

	public String getDictclassId() {
		return dictclassId;
	}

	public void setDictclassId(String dictclassId) {
		this.dictclassId = dictclassId;
	}

	public String getDictkeyName() {
		return dictkeyName;
	}

	public void setDictkeyName(String dictkeyName) {
		this.dictkeyName = dictkeyName;
	}

	public String getDictkeyValue() {
		return dictkeyValue;
	}

	public void setDictkeyValue(String dictkeyValue) {
		this.dictkeyValue = dictkeyValue;
	}

	public int getShowOrder() {
		return showOrder;
	}

	public void setShowOrder(int showOrder) {
		this.showOrder = showOrder;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String getDisplayName() {
		return this.getDictkeyName();
	}

	@Override
	public String getDictionaryValue() {
		return this.getDictkeyValue();
	}

}
